package fun.yao.common.exception;

public class GessErrCode
{
    //基本错误码
    public static String HJ0000 = "HJ0000" ; //交易成功
    public static String HJ0002 = "HJ0002" ; //操作标志错误
    public static String HJ0006 = "HJ0006" ; //未连接服务器
    public static String HJ0007 = "HJ0007" ; //交易代码错误！
    public static String HJ9999 = "HJ9999" ; //未知错误

    public static String HJ5001 = "HJ5001" ; //系统正在启动过程中不允许操作

    //数据库相关错误码 HJ6XXXX
    public static String HJ6001 = "HJ6001" ; //外键关联错误
    public static String HJ6002 = "HJ6002" ; //数据库处理错!
    public static String HJ6003 = "HJ6003" ; //连接数据库失败，请稍候再试！
    public static String HJ6004 = "HJ6004" ; //数据库忙，请稍候再试！
    public static String HJ6005 = "HJ6005" ; //正在进行历史数据同步，请稍候再试！

    //程序异常相关错误码 HJ7XXXX
    public static String HJ7001 = "HJ7001" ; //通讯异常
    public static String HJ7002 = "HJ7002" ; //报文加密异常
    public static String HJ7003 = "HJ7003" ; //设置广播服务的运行模式有误,无法启动！
    public static String HJ7004 = "HJ7004" ; //调用方法错误！

    public static String HJ9002 = "HJ9002" ; //接收上级服务超时




    //Session相关
    public static String SE0001 = "SE0001"; //Session 超时
    public static String SE0002 = "SE0002"; //Session 校验失败
    public static String SE0003 = "SE0003"; //Session 异常


    //Redis相关
    public static String RD0001 = "RD0001"; //获取锁超时
}
